package com.numbfish.start;

import org.junit.jupiter.api.Test;
import org.openqa.selenium.By;

import static org.junit.jupiter.api.Assertions.assertEquals;

public class Start extends BaseTest2 {

    @Test
    public void eightComponents() {
        execute();
    }


    @Override
    void doExecute() {
        //        driver.manage().timeouts().implicitlyWait(Duration.ofMillis(500));
        // toc-menu
        driver.get("https://docs.spring.io/spring-authorization-server/reference/guides/how-to-jpa.html");
        String text = driver.findElement(By.className("toc-menu")).getText();
        System.out.println(text);
        System.out.println(driver.getTitle());
        System.out.println(1);
    }
}
